#define  _CRT_SECURE_NO_WARNINGS 1
#include"Slist.h"

void test()
{
	SListNode *plist = NULL;
	SListPushBack(&plist, 1);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 3);
	SListPushBack(&plist, 4);
	SListPushBack(&plist, 5);
	SListPrint(plist);

	//SListPushFront(&plist, -1);
	//SListPrint(plist);

	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPopBack(&plist);
	//SListPrint(plist);

	SListPopFront(&plist);
	SListPrint(plist);
}



int main()
{
	test();
	return 0;
}